#include "Review.h"

Review::Review()
{
    userID = 0;
    hotelID = 0;
    comment = "";
    memberID = "";
    
}
Review::Review(int userID, int hotelID, string comment, string memberID)
{
    this->userID = userID;
    this->hotelID = hotelID;
    this->comment = comment;
    this->memberID = memberID;
}
    
    int Review::getUserID()
    {
        return userID;
    }
    int Review::getHotelID()
    {
        return hotelID;
    }
    string Review::getComment()
    {
        return comment;
    }
    string Review::getMemberID()
    {
        return memberID;
    }

//set function    
    void Review::setUserID(int userID)
    {
        this->userID=userID;
    }
    void Review::setHotelID(int hotelID)
    {
        this->hotelID=hotelID;
    }
    void Review::setComment(string comment)
    {
        this->comment=comment;
    }
    void Review::setMemberID(string memberID)
    {
        this->memberID=memberID;
    }
